package org.wangle.seckill.mq.component.death;

import org.springframework.amqp.core.Queue;
import org.springframework.amqp.core.QueueBuilder;
import org.springframework.context.annotation.Bean;
import org.wangle.api.properties.MQ.SecKillProperties;

public class SecKillDeathQueue {

    @Bean
    public Queue secKillDeathQueue(){
        return QueueBuilder.durable(SecKillProperties.secKillDeathQueue).build();
    }

}
